package com.globallogic.learning.kozius.res;

/**
 * enum contains a list of permissions for admins
 * Created by sergii.koziumynskyi on 2/28/14.
 */
public enum Permissions {
    NO_ACCESS(0, "Role is not defined yet"),
    FULL_ACCESS(1, "Full access to all features");


    private int permission;
    private String description;

    Permissions(int permission, String description) {
        this.permission = permission;
        this.description = description;
    }

    public int getPermission() {
        return permission;
    }

    public String getDescription() {
        return description;
    }
}
